using System;
using System.Collections.Generic;
using System.Text;

namespace LispInterpretor.HelperClasses
{
    internal static class Check
    {
        public static void IsTrue(bool predicate, string errorMessage)
        {
            if (!predicate)
            {
                throw new InvalidProgramException(errorMessage);
            }
        }
    }
}
